solve non homogeneous Linear equation